package com.gjs.cd.manager;

/**
 * @author zhongwenguang
 * @date 2022-5-10 11:54
 * 激活码表与激活码激活记录表互转
 */
public class TableNameConvert {
    public String toCodeRecordTableName(String codeTableName){
        return "cd_code_activation_record_"+codeTableName.substring(codeTableName.length()-4);
    }

    public String toCodeTableName(String codeRecordTableName){
        return "cd_code_"+codeRecordTableName.substring(codeRecordTableName.length()-4);
    }
}
